<!--
 * @Author: ZhaoDong
 * @Date: 2022-07-07 11:11:04
 * @LastEditors: ZhaoDong
 * @LastEditTime: 2022-07-08 19:49:37
 * @Description: APP
-->
<script lang="ts" setup>
  import { reactive } from 'vue';
  import zhCn from 'element-plus/lib/locale/lang/zh-cn';
  import 'dayjs/locale/zh-cn';
  const locale = zhCn;
  const buttonConfig = reactive({
    autoInsertSpace: true
  });
  const messageConfig = reactive({
    max: 3
  });
</script>

<template>
  <el-config-provider :locale="locale" :button="buttonConfig" :message="messageConfig">
    <RouterView />
  </el-config-provider>
</template>

<style></style>
